﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FeedbackUpdate.aspx.cs" Inherits="Wicresoft.RDW.Manage.FeedbackUpdate" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="main_title">
        <h2>
            调查反馈问卷管理</h2>
    </div>
    <asp:GridView ID="gwQuestion" runat="server" Width="100%" AutoGenerateColumns="false">
        <Columns>
            <asp:BoundField DataField="Question_CN" />
            <asp:BoundField DataField="Question_EN" />
            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:LinkButton ID="lbtnUpdate" runat="server" CausesValidation="False" CommandName="Update"
                        Text="Update"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:LinkButton ID="lbtnDelete" runat="server" CausesValidation="False" CommandName="Delete"
                        Text="Delete" OnClientClick="return confirm('确认要删除吗？')"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="sqbtnPane">
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnAddQuestion" runat="server" Text="添加问题" OnClick="lbtnAddQuestion_Click" /></p>
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnReturn" runat="server" Text="返回" Visible="false" /></p>
    </div>
    <br />
    <br />
    <br />
    <br />
    <div>
        <asp:Label ID="lblQuestionCN" runat="server" Text="问题（中文）" Visible="false"></asp:Label>
        <asp:TextBox ID="txtQuestionCN" runat="server" Visible="false"></asp:TextBox>
    </div>
    <div>
        <asp:Label ID="lblQuestionEN" runat="server" Text="问题（英文）" Visible="false"></asp:Label>
        <asp:TextBox ID="txtQuestionEN" runat="server" Visible="false"></asp:TextBox>
    </div>
    <div class="sqbtnPane">
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnSunmit" runat="server" Text="提交" Visible="false" OnClick="lbtnSunmit_Click" /></p>
    </div>
    <asp:GridView ID="gwAnswer" runat="server" Width="100%" DataKeyNames="Id" AutoGenerateColumns="false">
        <Columns>
            <asp:BoundField DataField="Answer_CN" />
            <asp:BoundField DataField="Answer_EN" />
            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:LinkButton ID="lbtnUpdate" runat="server" CausesValidation="False" CommandName="Update"
                        Text="Update"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:LinkButton ID="lbtnDelete" runat="server" CausesValidation="False" CommandName="Delete"
                        Text="Delete" OnClientClick="return confirm('确认要删除吗？')"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="sqbtnPane">
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnAddAnswer" runat="server" Text="添加答案" Visible="false" OnClick="lbtnAddAnswer_Click" /></p>
    </div>
    <br />
    <br />
    <br />
    <br />
    <div>
        <asp:Label ID="lblAnswerCN" runat="server" Text="答案（中文）" Visible="false"></asp:Label>
        <asp:TextBox ID="txtAnswerCN" runat="server" Visible="false"></asp:TextBox>
    </div>
    <div>
        <asp:Label ID="lblAnswerEN" runat="server" Text="答案（英文）" Visible="false"></asp:Label>
        <asp:TextBox ID="txtAnswerEN" runat="server" Visible="false"></asp:TextBox>
    </div>
    <div class="sqbtnPane">
        <p class="sqbtn">
            <asp:LinkButton ID="lbtnSubmitAnswer" runat="server" Text="提交" Visible="false" OnClick="lbtnSubmitAnswer_Click" /></p>
    </div>
</asp:Content>
